.spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  .spinner {
    border: 0.4rem solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 0.4rem solid #9644ff;
    width: 4rem;
    height: 4rem;
    animation: spin 1s linear infinite;
    margin: 0 auto;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
